<template>
    <div class="cardTitle">
        <img :src="defaultIcon" class="iconImg"/>
        <div class="titleText">{{ text }}</div>
    </div>
</template>
<style lang="less" scoped>
.cardTitle{
    display: flex;
    align-items: center;
    .iconImg{
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
    .titleText{
        font-size: 18px;
        font-weight: normal;
        /* font-weight: bold; */
    }
}
</style>
<script lang="ts" setup>
import defaultIcon from '@/assets/icons/favicon.png'

const props = defineProps({
    icon:{
        type:String
    },
    text:String
})



</script>